<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>SSO登录测试</title>
</head>
<body>
<H1>欢迎登录单点登录测试入口</H1>
<form action="/doLogin" method="post">
    <input type="text" name="username" placeholder="请输入姓名">
    <input type="password" name="password" placeholder="请输入密码">
    <input type="hidden" name="returnUrl" th:value="${returnUrl}">
    <input type="submit" value="提交登录">
</form>
<div><span style="color: red" th:text="${errmsg}"></span></div>
</body>
</html>